package com.slwish.xty.mvp.contract;

import android.content.Context;

import com.slwish.common.mvp.contract.BaseContract;

import java.io.File;

/**
 * 模块说明：
 *
 * @author 陈浩
 * @date 2017/12/13
 */

public interface UserInfoContract {
    interface Presenter extends BaseContract.Presenter {

        void uploadPhoto(Context mContext, File multipartFile);

        void newSex(Context mContext, String sex, String accessToken);
        void newBirthday(Context mContext, String birthday, String accessToken);
    }

    // 都在基类完成了
    interface View extends BaseContract.View<Presenter> {
        void uploadPhotoSuccess(String URL);
    }
}
